(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <exec/resident.h>
#include <dos/bptr.h>
#include <proto/exec.h>
APTR InitResident()
SYNOPSIS
struct Resident * resident
BPTR segList

LOCATION
In SysBase at offset 17
FUNCTION
Test the resident structure and build the library or device with the information given therein. The Init() vector is called and the base address returned.

The Init() vector is called with the following registers: D0 = 0 A0 = segList A6 = ExecBase

INPUTS
resident
Pointer to resident structure.
segList
Pointer to loaded module, 0 for resident modules.
RESULT
A pointer returned from the Init() vector. Usually this is the base of the library/device/resource. NULL for failure.

NOTES
AUTOINIT modules are automatically added to the correct exec list. Non AUTOINIT modules have to do all the work themselves.

EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
11.06.1997 aros
Removed a few include files that were in there twice
12.05.1997 aros
Fixed all headers
05.03.1997 ldp
Small Autodoc update
20.02.1997 ldp
Added some D(bug()) code
10.01.1997 digulla
Added missing include file
10.01.1997 ldp
Formatting.

Copy useful stuff over from ROMtag.

Deferred init for RTF_AUTOINIT.

Add Device/Library/Resource to the system with Addxxx() call.

01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS